package com.panshi.vo;


public class UserVO {
    private int uid;//用户id
    private String name;//用户昵称
    private String username;//用户姓名
    private String gender;//性别
    private String password;//用户密码
    private String iphone;//电话号码
    private String email;//用户邮箱
    private String introduce;//个人简介
    private String imgpath;//头像地址
    private int qui_count;//记录提问总数
    private int answer_count;//记录用户回答总数
    private int article_count;//记录文章总数
    private String last_login_time;//最后登录时间
    private String create_time;//创建时间
    private String update_time;//更新时间
    private String state;//状态(1 启用 0 禁用)

    public UserVO() {
    }

    public UserVO(int uid, String name, String username, String gender, String password, String iphone, String email, String introduce, String imgpath, int qui_count, int answer_count, int article_count, String last_login_time, String create_time, String update_time, String state) {
        this.uid = uid;
        this.name = name;
        this.username = username;
        this.gender = gender;
        this.password = password;
        this.iphone = iphone;
        this.email = email;
        this.introduce = introduce;
        this.imgpath = imgpath;
        this.qui_count = qui_count;
        this.answer_count = answer_count;
        this.article_count = article_count;
        this.last_login_time = last_login_time;
        this.create_time = create_time;
        this.update_time = update_time;
        this.state = state;
    }

    @Override
    public String toString() {
        return "UserVO{" +
                "uid=" + uid +
                ", name='" + name + '\'' +
                ", username='" + username + '\'' +
                ", gender='" + gender + '\'' +
                ", password='" + password + '\'' +
                ", iphone='" + iphone + '\'' +
                ", email='" + email + '\'' +
                ", introduce='" + introduce + '\'' +
                ", imgpath='" + imgpath + '\'' +
                ", qui_count=" + qui_count +
                ", answer_count=" + answer_count +
                ", article_count=" + article_count +
                ", last_login_time='" + last_login_time + '\'' +
                ", create_time='" + create_time + '\'' +
                ", update_time='" + update_time + '\'' +
                ", state='" + state + '\'' +
                '}';
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIphone() {
        return iphone;
    }

    public void setIphone(String iphone) {
        this.iphone = iphone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getImgpath() {
        return imgpath;
    }

    public void setImgpath(String imgpath) {
        this.imgpath = imgpath;
    }

    public int getQui_count() {
        return qui_count;
    }

    public void setQui_count(int qui_count) {
        this.qui_count = qui_count;
    }

    public int getAnswer_count() {
        return answer_count;
    }

    public void setAnswer_count(int answer_count) {
        this.answer_count = answer_count;
    }

    public int getArticle_count() {
        return article_count;
    }

    public void setArticle_count(int article_count) {
        this.article_count = article_count;
    }

    public String getLast_login_time() {
        return last_login_time;
    }

    public void setLast_login_time(String last_login_time) {
        this.last_login_time = last_login_time;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
